package rx.genarator.comprehension;


public class ReferenceJoin {
	
	protected String id;
	
	protected Reference referenc;
	
	public Reference getReferenc() {
		return referenc;
	}


	protected ReferenceJoin(Reference reference,String id,Column parentTableColumn,Column childTableColumn){
		this.referenc=reference;
		this.id=id;
		this.parentTableColumn=parentTableColumn;
		this.childTableColumn = childTableColumn;
		ObjectsMap.put(id, this);
	}
	
	protected Column parentTableColumn;

	protected Column childTableColumn;

	public Column getChildTableColumn() {
		return childTableColumn;
	}


	public Column getParentTableColumn() {
		return parentTableColumn;
	}


	public String getId() {
		return id;
	}
}
